package com.office.service;

import com.office.bean.Depart;

import java.util.List;
import java.util.Map;

public interface DepartService {
    int addDepart(Depart depart);
    long findTotalcount();
    List<Depart> findDepartsByPage(Map<String ,Object> map);

    boolean deleteById(int id);

    Depart findDepById(int id);

    int update(Depart depart);
    List<Depart> findDepart();

    long findEmpCount(int did);
}
